package com.zbkj.crmeb.store.service;

import com.zbkj.crmeb.category.request.CategoryRequest;
import com.zbkj.crmeb.category.vo.CategoryTreeVo;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.store.model.ChannelCategoryConfig;

import java.util.List;

/**
 * 分类自由化配置
 */
@Service
public interface ChannelCategoryConfigService extends IService<ChannelCategoryConfig> {

    Boolean updChannelCategory(CategoryRequest categoryRequest,Integer merId);

    Boolean closeStatusByCateId(Integer cateId);

    List<CategoryTreeVo> getFrontTreeByMerId(Integer merId);

    Boolean updCategoryEnableFlag(CategoryRequest categoryRequest);

    List<CategoryTreeVo> getCategoryTree(Integer merId);
    
}
